<?php include('header.php')?>
	<title>添加关键字回复</title>
</head>
<body>
	<div class="navbar navbar-inverse navbar-static-top" role="navigation" style="position:static;">
		<div class="container-fluid">
			<ul class="nav navbar-nav">
				<li><a href="http://www.12301.cc"><i class="fa fa-reply-all"></i>返回系统</a></li>
			</ul>
		</div>
	</div>
	<div class="container-fluid">
		<div class="row">
			<?php include('leftbar.php')?>
			<div class="col-xs-12 col-sm-9 col-lg-10">
                <?php include 'acc_info.php';?>
                <ul class="nav nav-tabs" id="tabNavWrap">
                    <li class="active listUl tabNavItem" data-tab="listUl"><a href="javascript:;">管理基本文字回复</a></li>
                    <li class="addKeyword tabNavItem" data-tab="addKeyword"><a href="javascript:;" data-tab="addKeyword"><i class="fa fa-plus"></i> 添加基本文字回复</a></li>
                </ul>
                <div id="tabConWrap">
                    <!--begin 关键字回复列表-->
                    <div data-tab="listUl" class="tabPanel listUl">
                        <div class="panel panel-default">
                            <div style="border-bottom:0 none" class="panel-heading">帐号：<strong id="current_account_name">票付通</strong> 已设置的关键字回复列表</div>
                        </div>
                        <ul id="replyList" class="replyList"></ul>
                    </div>
                    <!--end 关键字回复列表-->
                    <div style="display:none" data-tab="addKeyword" class="panel panel-default tabPanel addKeyword">
                        <div class="panel-heading">设置关键字回复</div>
                        <div class="panel-body" style="position:relative">
                            <form id="ifrm" method="get" class="form-horizontal" role="form">
                                <input name="action" value="SetKeyWord" type="hidden"/>
                                <input name="hash" type="hidden" value="100040"/>
                                <div class="form-group">
                                    <label class="col-xs-12 col-sm-2 col-md-2 col-lg-1 control-label">关键字</label>
                                    <div class="col-sm-8">
                                        <input class="form-control" name="key" id="keywordInp" type="text" value="">
                                        <span class="help-block"> 当用户的对话内容符合以上的关键字定义时，会触发这个回复定义。</span>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-xs-12 col-sm-2 col-md-2 col-lg-1 control-label">回复内容</label>
                                    <div class="col-sm-8">
                                        <textarea id="replyTextarea" class="form-control" placeholder="添加要回复的内容" name="resp"></textarea>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-xs-12 col-sm-2 col-md-2 col-lg-1 control-label"></label>
                                    <div class="col-sm-8">
                                        <input id="submitMenuDataBtn" type="button" value="提交" class="btn btn-primary">
                                    </div>
                                </div>
                            </form>
                            <?php include("switch_account_loadinglayer.php") ?>
                        </div>
                    </div>
                </div>
			</div>
		</div>
	</div>
	<div style="display:none" id="gMaskLayer" class="gMaskLayer"></div>
	<?php include('footer.php')?>
    <script type="text/javascript" src="http://www.12301.cc/wx_public/js/setKeyWord.js"></script>
</body>